package com.hxgz.steel.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("前台商品展示 对象")
public class HomeProductDto {

    @ApiModelProperty(value="商品id")
    private Long id;

    @ApiModelProperty("产品主图url")
    private String mainImage;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("型号")
    private String model;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("销量")
    private String salesCount;

    @ApiModelProperty("店铺id(值为1时 代表自营)")
    private Long storeId;

    @ApiModelProperty("店铺名称")
    private String storeName;
    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("类别id")
    private Integer categoryId;

}
